import { Module, Mutation, Action } from 'vuex';

export interface ITestState {
    info: string   
}



const config: Module<ITestState, any> = {

    state: {
        info: 'test data'
    },

    mutations: {
        upInfo(state: ITestState, data:string){
            state.info = data;
        }
    }
    
}

export default config;

